package com.hyst.model;

import java.io.Serializable;
import javax.persistence.*;

import lombok.Data;

import java.util.Date;


/**
 * The persistent class for the person_produce_plan_view database table.
 * 
 */
@Data
@Entity
@Table(name="person_produce_plan_view")
@NamedQuery(name="PersonProducePlanView.findAll", query="SELECT p FROM PersonProducePlanView p")
public class PersonProducePlanView implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="batch_code")
	private String batchCode;

	@Column(name="dispatcher_id")
	private String dispatcherId;

	@Id
	private int id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="plan_begin_time")
	private Date planBeginTime;

	@Column(name="plan_code")
	private String planCode;

	@Column(name="plan_count")
	private int planCount;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="plan_finish_time")
	private Date planFinishTime;

	@Column(name="plan_hours")
	private String planHours;

	@Column(name="product_name")
	private String productName;

	private String state;

	@Column(name="system_name")
	private String systemName;

	@Column(name="which_model")
	private String whichModel;

	@Column(name="worker_id")
	private String workerId;

}